<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>

</head>
<body>
	<script type="text/javascript">
		// bool类型小应用
		/*while(true){
			const time = prompt("请输入开学时间1.19").trim();
			if(!time){
				continue
			}else{
				console.log(time==1.19?"回答正确":"回答错误")
				break
				}
			
		}
		*/
		let number = 5.222
		console.log(number.toFixed(2))
		console.log(Object.is(number,f))
	</script>
</body>
</html>